var o = getApp();
Component({
  properties: {
    datas: {
      type: null
    },
    component_id: {
      type: null
    },
  },
  data: {
    emptyImage: "https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/image.png",
    clientWidth: "375",
    imgList: {}
  },
  lifetimes: {
    attached: function () { },
    moved: function () { },
    detached: function () { }
  },
  attached: function () { },
  ready: function () { },
  pageLifetimes: {
    show: function () { },
    hide: function () { },
    resize: function () { }
  },
  created() {
    this.shBatch()
  },
  methods: {
    tapimg(e){
      console.log(e.currentTarget.dataset.value)
      wx.navigateTo({
        url: '/packageJ/missionHall/missionHall?id='+e.currentTarget.dataset.value,
      })
    },
    shBatch() {
      var t = this, e = o.getNetAddresss("plugin.task-reward.api.quest.questType");
      o._getNetWork({
        url: e,
        data: {
        },
        success: function (a) {
          console.log(a.data.data, 'shbtnch方法')
          t.setData({
            imgList: a.data.data
          })
        }
      });
    }
  }
});